nemesis <nam### [at] gmail com> wrote:
> "[GDS|Entropy]" <gds### [at] hotmail com> wrote:
> > So essentially a macro in pov-sdl, when called, returns a code
> > block/whatever its contents happen to be?
> it doesn't "return" anything: it textually copies it contents with parameters
> substituted for real values.
Not really. POV-Ray doesn't copy anything. When a macro call is encountered
it jumps to the macro body and continues parsing there. When the macro has
been parsed, it returns to the origin of the jump.
The difference can be seen eg. with #locals.
--
- Warp
Post a reply to this message
|